updated for Windows 8 tablet