Sometimes, an author will write a story that is consciously based on an older story (typically in the public domain) but with a modernized setting and characters. Sometimes the original work is still copyrighted, but the writer includes the minimum quota of differences to avoid being a direct plagiarism while using an immediately recognizable story template.