made some things nicer on xcode