added docstring to pgram