added custom generator