be more graceful in handling of lists