added a simple session bundling mechanism