creating the semantic grid