Corrected order of arguments in declaration of isAlive(outer,inner).