adds ball factory