You may be right. I did not want to extract it as one method because there are differences, but using a parameter in is a good idea.