session save and load: work in progress