working on flask-collect