added ami's code

no need to init code