gamma doc code