add dynamic metro and sample