renamed scheme_data attribute to data