add delete funtionality