reduce code suggestion