Removed debug println and the time wait