removed old code from practical session 5.3