changed failure retcode to just be 1