playing with factories