removal of some old api stuff