added hydration listener