stderrvec works! wrote testing function