use vector for beta params