added check for WP8