rename arr -> input