first try on processing LCMC; memory leak..