Just a fixed version of glScope