but this will error out for values that are not integers (e.g.: floats, strings)