Apparently you can't use any form of ternary otherwise it becomes a function