Added a getParameter function

No more request from now. Thanks Andy!!