added hapi and redi