add functions: delete action, to be continued