prototypes for GL added