GOT THE RAYS WORKING