completed eco_parse example