Still working on the view date method but i think its working. Need to add unit tests now and find out.