minor tweaks before converting to roxygen headers