added working on GL