Database: scholar
Question: When was the max year Mary Crainie published a paper ?
SQL: select distinct max ( t3.year ) from writes as t2 join author as t1 on t2.authorid  =  t1.authorid join paper as t3 on t2.paperid  =  t3.paperid where t1.authorname  =  "mary crainie"