was asking for a bool when i needed an int