init with example