remove old API stuff