altered data structure, fixed alter method