new file:   utils.py
some util function for tiny.py