removed dead code
implementing glsl handler