Refactored with transform components.