added beta_type to beta