work in progress on transform