add logger statements