#12 implemented support for transformers