simplify repetition