changed to void pointers

updated to support other adts