putAll method working now. fixed key type and value type position as they were being assigned undefined functions with expression function implementation.