code now dynamic and api key now safe
parsed the movie variables in a for loop