double Flask requirement