add getParam method