added hash map creation with choke points removed into factory to be passed down. needs refactoring later