allow define without handlers