annotated ui.R and server.R