Version 1.0: Read integer function added