updated for win8phone