This is the most recent version of the AM class that I have. If anyone has a new version please push to git hub