BUG FIXED: error with 2nd argument of  add() not having a default 
value of NULL