Removed setTimeOut function