renamed function to get arrows in viewer