added iPad Compability