add comment about installation in function getAM