updated recordexercise to only happen twice