added files to XCode project
bug fixing