added and tested grid