added parenthesis for order of operations to get correct answer