function "added" deleted