Working on addParenthesis problem