adding "Add" function