ams integration with comments