rewritten staticData class to two dimensions thanks to column naming
based on query