remove unused function; get test coverage back to 100%