moved init into example source