Second and third assignment almost done