some old session class I have been working on.