for web app class