removed unneeded sleep