Working Finite State Controller in Master