added the code to generate the placeholders to the grid system. may require some adjustments.