thinking about getting rid of this section of code, since it would be easy to do these calculations as needed