implemented result visualization