move some common values to ac3.h and utilize them