trying to get the detail to work