Preperations for assignment 2