works with CRAN version of shiny