example for assignment 5