Adding from AIM library

Generated from AIM sample codes