It would probably be clearer here to use parentheses to make the precedence explicit.