remove unncessary sleep method