added closing bracket and semicolon
fixed add function