changed delim
make sure to rethrow error