Tried to fit a ternary statement

couldn’t make it work so i deleted it