fixed bug in getVal for SSB
vignette added