updated *.m to handle more cells