set default value for alwaysInRange in the constructor