search
principal and head