extract constants