converted to cocoaPod