implement the Tree#delete() function
don't execute code without callback on functions that are retriving data