Pass Variable In Input Function