refact for emacs
more for tools