draw as local var