fixed testing at line 98