Designing Assignments that discourage plagiarism