using UIDevice requires import UIKit.h