added session variable storage