remove unneeded logger function