the dot and sharing data between controllers