refactoring to WorkoutService