more parentheses to avoid compiler warnings