refactored transform declarations