Also, i need it to stop counting when the work has ended