xgen sample project