improved the testing