making progress on logging