first attempt at session switching