Added transform for different types of input