completed assignment - before testing.