add  detail controller