Changed datatype from void *