making it work on tablet