cut some repetition