Why do you expose a uint as a parameter here? Can we not come up with a more user friendly type here?