re-adding logging...