reduce code required for feature