Everything before running delete method