gotta change this to accept beta2