ordering added for sessions