update example and change convention to upward pointing z-axis
support multiple sources