extract out constants