change for Matlab compatibility