Beginning of an AM version.