Sample of reading of int values (with modification)