referendum mechanics