added transformPath implementation with conventions