implemented transform + fixed this