fixed date collecting. working on snapshot function.