Trying to avoid creating too many conditions