added startTime to play_square function