Thanks Daniel. So clear() is a function thing, so my delete mmf; will look like clear(mmf); am I right?