Bunch of random gl code