uploading hopefully working gravity and acceleration