added views for hooks