modify video generator