Use "if/else" instead of "?:".