added return docs to runtime