final test of wacky, it works, add ternary