Added list range functionality and assignment