resharper refactor pt. 2