create an init() in main so stack is released