omg: refactoring now main state is a stack of transformers, but why?