removed gl stuff