improving factory