added "matlab function" cfamounts