and you should use ``||`` instead of a ternary operator IMO