customized for FitVelocity hw4