cat added for errwrap