Implemented a redimentary state machine like AI