Load_data and hashcodes functions