removed unecessary sleep 5