removed date method from index file