updated estimator to reflect changes to firebase. probably still collosally broken