a two rectangular objects with a grid