add variables and type