inserted delete button funktionality