Preparing for sensor data