implementing visualization