removed redundant date parsing