initial commit from fred-client-2.4.1