some variables name changed according to coding standard