primiary overriding, log behaviour added