sec commit
implemented delete function