demo with ray