Added comments in JSDoc format