Simple volatile example