exact function, prim function, add on table