why doesn't it like ternary format?