code improvement, today, yesterday and tomorrow methods added