use lookup table for acc