upgrading to HAPI 0.8