add quality control: input & report