See note above: Move repeated code to a method