just app, the "var app" is in the loop definition.