changed some thingies in foo2.m