removed ancient function