I enjoyed the movie and read the book many years ago. Besides this one several other Philip K. Dick books and short stories have been made into movies: Blade Runner, Total Recall, Minority Report. Many of his books deal with alternate realities or different perceptions of the same reality. I remember 'Ubik' being one of my favorite books by Dick but it's been so long since I read it that I can't remember the specifics anymore...