Repeated code. Perhaps combine into a single private method?