passing detail id