added some more features to the main.c test script... current issue is that we are getting duplicates in the list