pass max and offset params as Integers (4u Mylo <3)