add more sleeping...still isn't working correctly