made schedule use firebase