added more logger calls