working on iphone performance improvements