Why am and eurisko appear to work

Why am and eurisko appear to work