typo corrected
Started delete funciton