Moved state machine creation into method, added ReceptacleToken