extract a few constants