Extracted into a new method