slightly ot: data structure question