added custom grant generator