pretzel logic to pre-wake