implementation of most of the single result display