Fire departments work together