initial setup
beta=0