Finished Lab4b finally