parse-features func