changes to work with winrt