add @autoreleasepool to allow for NSDat and strings to get released quicker