Added global range variables