got function transforms working for all test cases