Added labeled parsing (needs speed improvement)