styled and added delete function