allowing global scope for marker variable