ball creation and collision work properly