compile variables for rob
removed unreachable code