why do you need to use specific type for this? If possible could you switch to `int`?