extracted very base utils from init.el