added detail controller