made small modifications to code and completed testing.