equation put in for avg per minute