also check if structures is not empty