changed the Element structure