variablize contest.hamlet