Gram's Map