how does the circulatory system work with?