moving get() into util.py