added prototype for webapp