Define variables
Define func init
Update func main
Revert "Update func init"

This reverts commit 9afb58a9ffeb9f553694aabcfe71e1c81a52586c.
Update func init