implemented the beginnings of visualization