work on GAILstart.m