added iPad comapitbility
Added iPad support