start working on element data strucutre