add automatically closing parenthesis