changing the API for 0.8 Proton