switch away from deprecated interface