revised for AppStore submission
Deployed and accepted in AppStore v1.0.2
moved pin method to viewDidLoad