added flat surface draw