playing with rays