still attempting to switch to using correct stdout