added sentombair function, commented out safesleep check