throw error if not atleast one list if filled