There's no need for having bool-switches IF you can use string vars to validate.