More work on ranges