changed the test given feedback from anna