Removed unnecessary list(LENGTH ...)