init with working example