replace throw with echoerr, return
missing )