updated cogwgl sub