removed the ** from converting to void* from structs