proper way to get assosiations to the view