functioning grade shiny app x17 depts