Added parenthesis to fix integer division