built in xCode

removed unneeded vars