beta2 -- minor fix that prevented beta1 from working