initial handling of precedence