Integrated time_prog. Not working