removed unused code ipad app