a bit of work on detail controller