refactor log-local. add here