Mid term homework in progress