added sessionStorage factory