add feature detection and extraction code