alternate approach to return val (current approach suppresses test output)