Prepared for modularization
Range-checking numbers