update Consumer functions, add logger