coordinate transformations working