why are you using containsKeyStartingWith instead of just containsKey?