Adding Gen example