lab5: ex1-3