scope treated as array