move 'o' and '~' to constants