add flask example ii