implemented deleting steps