cache the am