adding aggregare table and raw table features