added method to retrieve all the content of a range