hook for display