Use same datatype for changePr*Input as the input index is stored in