wrap Method in a struct to resolve iOS 7 issues