basic code for features extraction