Minor update
Made delete function more user-friendly