Connected data to both views