adding app instance