fix code syntax and add some links to grid