failed experiment: ternary operator