xcode editor added
refactoring