delete empty function