Changed Scope to an integer