Molecules on grids