warning: unused variable 'input_size'