Added a comment explaining the acquireData function