added stencil buffer stuff to try it out