from ccmatlab 22222