private logging great
the updated version