Added initial code for old date viewer