exctract some strings to constants