throw in a bunch of checks to sleep better