use new API calls with gibd 2.7