refactoring sessions