checking preargN for validity