refactoring with ReSharper