updated protos, added compendium functions