Adding ipad support