prints out vector