trying to connect the views together