In order to use the functions of LocFreeClassGrp.m one has to type Attach("RelAlgKTheory.m"); Attach("ao.m"); You should have a look at the sample file sample.m to see how the fonctions can be used.