added purge method for entire collection