added protocol/delegate to pass info between views