function lookfor2a = lookfor2a(x,y,MA)
%lookfor(x,y) with x a string that should be a field of the variable y,
%returns the variable stored in y.x
%MA tells which assistance mode is asked! {'MAe','MAn','MAp','ZA'}
if isfield(y,x)==0
lookfor2a=[];
else
hulp=getfield(y,x);
if isfield(hulp.d,MA)
lookfor2a=getfield(getfield(getfield(y,x),'d'),MA);
else
lookfor2a=[];
end
end