logging function is added