preliminary work for the products grid