re-add logging