added repetition function and updated log.ods