ptr -> ref done