main() and init()