updated for iPad