include draw regions function