removed deprecated API calls