some small adjustments to logging
implemented repetitions