documentation + first gauge implementation