copy paste from example

Copy paste from example of the assignment