fixed add def