added overlays, state machine