custom functions for the transformations added