data munging, and SBI metric calcs