use common functions from github.com/kjk/u