made volatile. fixed parens