Contract Transformer