kavya's new parser that arranges by date