Changes to SoProtocol + added creation of selection