conform more closely to CODING STYLE, use the correct mode for proteins