add entryWithKey constructor
add positions