init and scaffold