refactored ball data into a struct