transformers written and tested