Adding JSdoc