implemented better transformer-parameter