work on APIs for new web interface