added to test.c