changed input variable types