added static and const feature.