functions with check saved in a log, pass reading the log and inserting in a list