revise program class and workout class