add detail controller