use logger library instead of fmt