Delete Function

Its a little buggy