milestone 2: still need to split entry to key and value