pesky windows 8
begin refactor to support WP8