trying to add the GL sample, starting point of the code