Safer data handling