additiona logging fn