first draft of session helper