Removed unnecessary extra list variable