changed the curly brackets into parenthesis