list is now dict instead of tuples