adding iOS 8 category support