leaned about null and empty lists