Screwing with ternary example