Ranges Scheme step 6