added hook