simplify boiler plate