Can you add some JSDocs here and throughout the file?