Is this the preferred way of doing this? Wouldn't a boolean type make more sense?