Variable initial search

base + statemachine package