changed some stuf with ball simulation