initial flask structure