link list made void* and all changes made accordingly