In case of const ext. input, use inout