add variables for type