Plagiarism and how it can be avoided