ifs is now a totaly diferent animal. Postpone optimisation and simplification of the system. It works.