change in message order in Session.java