Converted to support ARC

Used XCode automatic conversion