cif input saving implementation