some code with Flask