Practical assignment 4.