Added comments to the init() method and run()