loaded up in Xcode
do not use new and delete for temporaries