work on sample detail view