added preexeute logic, made changes to GEtWid param name FromWid