updates to fix deep pointer