Fix compile errors, transform functions work?