extract and save chosen features