now its a flask app!