#8 Ternary operator implemented