cleaned up details view