fixed bug where the new grid prototype function was placed in the wrong file