My data structure problems