refactor resharper