create configuring macro