trial within Xcode
Added GUI