adapt for iPad