Returning a void pointer through a fn