trying to remove functor from state sig, doesn't compile