feature: appease-code-climate

remove some duplication