Initial attempt of using the new state type