added a translation of glrt from cpp