updated names to make clear inputs are integers, not any numerical type