small changes in protocol