added custom generator demo