modified to test