final version. works on windows phone 8