using label factory, example