initial commit, started off some work for iOS devices