testing and some changes to sleep