changed to service for data exchange between views