add def block