Move duplicate code into private method