tdd-training-homework03 - remove redundancy