finally figuring out math mo beta