global for draw