check for preexisting output