refactor #get with map for dates. WIP.