separating gl setup junk