This bit of copy/paste could probably be abstracted into a private method?