nit: use java doc format ```/** comment */ ``` rather than scala doc