added nlaMap function and rebuilt