Transform function defined. Still does not work.