reduce boiler plate