changed parse to handle void ptrs