Added some log lines, fixed repetitions success var