refactor: add comments and delete cruft
refactor: replicate previous query - name_destination
feat: query based on date