added autoreleasepool as it doesnt exist at load time