updated for hapi 8.0