removed duplicated files and built in shiny function