capture labels as well