refactor ball objects