cut the View stuff from iPhone and started inventory code