udpates to beta extraction