Added removal of semicolon before closing bracket