BUG: load data into 'data' structure