adapt for tablet