you should add a space after the casting, and removing the duplicated space before the ternary operator (1 space is good, 2 is too much)