add format date helper
organizing methods