add variables into features