removed ios8 func