move '~' and 'o' to constants