Lookup FSM