clean up defunct functions