remove functions that were not used