separated header into head and header