added parameter and return type sphinx style docstrings