How to initialize and run