broken code - writing logic for handling window location entry point into dataset