formatting for earls; fixed earl import