Added working version of Part4.