START and DONE are not needed anymore, and added gt function