v0.0.3 ------ - add partial handling to ray - simplified functions