Delete function hocked up