second sphinx rice function
Merge branch 'tom'