prototype for web interface