Assignment 4 practical