first iteration of OLAP module