Need JSDocs throughout this file