Added GDT code - DOESNT BUILD