working on PiceFactory