re-enter add function - not yet working