Create ucb.py

background functions