add  mapleray function

awesome job!  wonderful idea!