Added parens to shift so that 5.10 doesn't complain