changed the code to accept the hour and minute for the sake of a demo animation