prepared to oscar calculations on entire database