seperated out transform parsing into own cpp