Completed third assignement