Protocol.java implemented