Added new functions into AMI lib