     persist_showtimes(new_showtimes)
   end
 
-  def merge_with_showtimes(movies) do
+  @spec merge_with_showtimes(list(Movie.movie())) :: list(Movie.movie())
+  defp merge_with_showtimes(movies) do
     movies
     |> map(fn mov ->
       Map.put(

    Repo.all(query)
  end

  def get_saved_movie_showtimes_by_title(titles) do
    query =
      from(
        s in Showtime,

    |> filter(fn showtime ->
      !Enum.any?(showtimes_from_db, fn saved_st ->
        saved_st.title == showtime.title && saved_st.cinemahall == showtime.cinemahall &&
          DateTime.compare(saved_st.showtime, showtime.showtime) == :eq
      end)
    end)
  end

  @spec get_saved_movie_titles() :: [String.t()]
  defp get_saved_movie_titles() do
    query =
      from(
        m in Movie,
