semi-working search strategies and 2variable sleep function