Add argument number check
trying to test read past end of data