init and begin