reorganised examples inspired by shinyBS