changed function loadField