created aggregate tables