We could probably use a ternary here