started implementing data-structure