upgraded to hapi 3