added warning for pentheses