add: methods for ray