adding visioning code