trace recursive function