flawed list of lists implementation