split example into defs