remove functions no longer used