finally added potential val function
line break
start describing tub marg
remove some old funcs