add logger routines