Course work assignment 2