remove state monads