ray inside ctx
m