some tweaks, now its working (I think)+renamed NewSessionValue