visualization works as expected