cleaning out code and logging dateMap values