nits: use parantheses to improve readability in shifts