add logging at its best