completed logic test.