added WP8 support