def _get_movie_title_and_year(film):
    """A function to pull movie title and release year for further consumption.

    args:
        film: the IMDb 'Movie' object to pull info from.

    returns:
        a dictionary containing the films name and release year.
    """
    title = film.data.get('title')
    # for some reason, movies that to not have a release date and empty parenthesis on the end of the film name.
    title = title if '()' not in title else title[:-3]

    year = film.data.get('year')
    # we want to sort on the year so if year is not present we need to give an arbitrary int value so the
    # sorted function does not crash. 3000 was used as this happened on movies that are not out yet, so we want
    # them to be sorted at the 'recent' end.
    year = year if year is not None else 3000

    return {'title': title, 'year': year}