added functionality to workoutmanager