DELETE FUNCTION IMPLEMENTED