initial var and a couple functions