Added utils and changed the way drawing data is transformed.