Ensure that integer is returned