added automaton

Change-Id: I9e2f2b93cfcc4c2829f0c511836f67c183e94e5d